<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>
<%@ page import="java.io.PrintWriter"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:directive.page import="com.xx.pmis.web.util.ChartAccount" />
<html:html lang="true">
<head>  
  <title>记账本/数据分析</title>
  <%@include file="../link_script.jsp" %>
    	<%
			ChartAccount chartAccount = new ChartAccount();
			//柱状图 
			String fileNameBar = chartAccount.generateBarChart("期末余额柱状图@月份@金额/元", session,
					new PrintWriter(out), 580, 300);
			String graphURLBar = request.getContextPath()
					+ "/servlet/DisplayChart?filename=" + fileNameBar;
		%>

</head>
<body> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td class="STYLE1" bgcolor="#FFFFFF"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE3" height="22" bgcolor="#FFFFFF" width="100%"><img src="<%=graphURLBar%>" width="80%" height=300></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../no_page.jsp"%>
</table>
</body>
</html:html>
